/* Basic Reset and Font Setup */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    color: #e0e0e0; /* Light text for dark background */
    background-color: #121212; /* Very dark grey, not pure black */
}

/*XMAS font*/
@font-face {
  font-family: 'ChristmasSnow';
  src: url('../fonts/Cafe24Meongi-B-v1.0.ttf') format('truetype');
}

/* Full-page container */
.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers content */
    align-items: center; /* Horizontally centers content */
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    position: relative; /* ensure content stacks above the snow layer */
    z-index: 1;
}

/* Header/Logo */
.logo {
    font-size: 2.8rem;
    font-weight: 900; /* Very bold */
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* Main Content */
.headline {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #ffffff;
    /* Subtle gradient for "Snowfalls" effect */
    background: linear-gradient(90deg, #ffffff, #a0cffb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 30px;
    color: #b0b0b0; /* Slightly dimmer text */
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Subscription Form */
.subscribe-form p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* Stacks on mobile */
}

.form-group input[type="email"] {
    padding: 14px 18px;
    font-size: 1rem;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #222;
    color: #fff;
    width: 280px;
}

.form-group input[type="email"]::placeholder {
    color: #777;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: #007bff; /* Blue focus, like ice */
}

.form-group button {
    padding: 14px 25px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-group button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    text-align: center;
    width: 100%;
    padding: 30px 0;
}

.social-links {
    margin-bottom: 10px;
}

.social-links a {
    color: #888;
    text-decoration: none;
    margin: 0 12px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c3cfe2;
}

.copyright {
    font-size: 0.85rem;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .headline {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }

    .form-group {
        flex-direction: column;
        align-items: center;
    }

    .form-group input[type="email"],
    .form-group button {
        width: 100%;
        max-width: 320px;
    }
}



  
body {
  margin: 0;
  /* allow page to scroll normally */
  min-height: 100vh;
  overflow: auto;
}

#snow-container {
  position: fixed; /* fixed so it doesn't affect document flow and allows scrolling */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none; /* Prevent interaction */
  z-index: 0;
}

.snowflake {
  position: absolute;
  top: -10%; /* Start above the screen */
  color: white;
  opacity: 0.2;
  font-size: 10px;
  pointer-events: none;
  animation: fall linear infinite, swayRotate ease-in-out infinite; /* Combined sway and rotation animation */
  will-change: transform, top;
  animation: fall linear infinite, swayRotate ease-in-out infinite; /* Combined sway and rotation animation */
}

@keyframes fall {
  to {
    top: 110%; /* Fall past the bottom of the screen */
  }
}

@keyframes swayRotate {
  0% {
    transform: translateX(0) rotate(0deg); /* No sway or rotation at start */
  }
  25% {
    transform: translateX(10px) rotate(90deg); /* Sway right and partial rotation */
  }
  50% {
    transform: translateX(0) rotate(180deg); /* Return to center with half rotation */
  }
  75% {
    transform: translateX(-10px) rotate(270deg); /* Sway left and more rotation */
  }
  100% {
    transform: translateX(0) rotate(360deg); /* Back to center with full rotation */
  }
}
/* ================================================= */
/* JS ETC */

.container {
  background-color: rgb(119, 118, 118);
  opacity: 1;
  border-radius: 15px;
  padding: 20px;
}

.container h1 {
  color: white;
}

.input-group {
  padding-bottom: 20px;
}

.getResortForecastbtn {
  padding: 10px 12px;
  background: linear-gradient(135deg, #a0cffb 0%, #7eb3d4 100%);
  font-family: 'Inter', sans-serif;
  color: #000000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(160, 207, 251, 0.3);
}

.getResortForecastbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(160, 207, 251, 0.5);
  background: linear-gradient(135deg, #7eb3d4 0%, #5a9fd4 100%);
}

.getResortForecastbtn:active {
  transform: translateY(0);
}

.getResortForecastinput {
  padding: 10px; 
  border: 2px solid #a0cffb; 
  border-radius: 5px; 
  flex: 1; 
  margin-right: 10px;
}

#forecast-results {

}

.destinations {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 30px 0 15px 0;
    color: #ffffff;
    /* Subtle gradient for "Snowfalls" effect */
    background: linear-gradient(90deg, #ffffff, #a0cffb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.destinationsp {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 550px;
  margin-bottom: 15px;
  margin-top: 0px;
  color: #b0b0b0; /* Slightly dimmer text */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.resort-buttons {
  margin-bottom: 15px;
  
}

.resort-buttons button {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: 'Inter', sans-serif;
  color: #000000;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#hr-select {
  background-color: #a0cffb;
  font-family: 'Inter', sans-serif;
  color: #000000;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-bottom: 30px;
  max-width: 150px;
}

.bmac {
  margin-top: auto;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 1px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #111;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  text-decoration: none;
}

.bmac:hover {
  border-color: red;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}



.select-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 20px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.select-container label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
  margin-bottom: 4px;
}

.select-container select {
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #b8d4e8;
  background-color: #ffffff;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.select-container select:hover {
  border-color: #7eb3d4;
  box-shadow: 0 4px 12px rgba(126, 179, 212, 0.2);
}

.select-container select:focus {
  outline: none;
  border-color: #5a9fd4;
  box-shadow: 0 0 0 3px rgba(90, 159, 212, 0.1);
}
     
select {
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}













/* Additional Static Snowfall STARTS */

    .snow-wrapper{
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
        pointer-events: none;
        z-index: 69420;
    }
    .background-snow{
        --y-speed: 280s;
        --rotation-speed: 26s;
      
        filter: drop-shadow(0px 0px 3px #aaa);
        z-index: 10;
        position: absolute;
        left: attr(data-left);
        opacity: .5;
        animation-name: driftY, rotate360;
        animation-duration: var(--y-speed), var(--rotation-speed);
        animation-iteration-count: infinite;
        animation-direction: normal, alternate, normal;
        animation-timing-function: linear;
    }
    .background-snow.xs {
        width: 1rem;
        height: 1rem;
    }
    .background-snow.s {
        width: 1.5rem;
        height: 1.5rem;
    }
    .background-snow.m {
        width: 2rem;
        height: 2rem;
    }
    .background-snow.l {
        width: 2.5rem;
        height: 2.5rem;
    }
    .background-snow.xl {
        width: 3rem;
        height: 3rem;
    }
    .background-snow.xxl {
        width: 4rem;
        height: 4rem;
    }
    .background-snow.snow-1 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_1.svg?v=1762288233');
    }
    .background-snow.snow-2 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_2.svg?v=1762288233');
    }
    .background-snow.snow-3 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_3.svg?v=1762288233');
    }
    .background-snow.snow-4 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_4.svg?v=1762288233');
    }
    .background-snow.snow-5 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_5.svg?v=1762288233');
    }
    .background-snow.snow-6 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_6.svg?v=1762288233');
    }
    .background-snow.snow-7 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_7.svg?v=1762288233');
    }
    .background-snow.snow-8 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_8.svg?v=1762288233');
    }
    .background-snow.snow-9 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_9.svg?v=1762288233');
    }
    .background-snow.snow-10 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_10.svg?v=1762288233');
    }
    .background-snow.snow-11 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_11.svg?v=1762288233');
    }
    .background-snow.snow-12 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_12.svg?v=1762288233');
    }
    .background-snow.snow-13 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_13.svg?v=1762288233');
    }
    .background-snow.snow-14 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_14.svg?v=1762288233');
    }
    .background-snow.snow-15 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_15.svg?v=1762288233');
    }
    .background-snow.snow-16 {
        background-image: url('https://cdn.shopify.com/s/files/1/0058/4538/5314/files/Snowflake_16.svg?v=1762288233');
    }

    @keyframes driftY {
        0% {
            top: -300px;
        }
        100% {
            top: 100%;
        }
    }

    @keyframes rotate360 {
        0% {
            transform: rotate(0deg) translate(0px);
        }
        50% {
            transform: rotate(180deg) translate(60px);
        }
        100% {
            transform: rotate(359deg) translate(0px);
        }
    }

/* Additional Static Snowfall ENDS */






